const Router = require('koa-router');

const  userController  = require('../controllers/userController');

let userRouter = new Router();

userRouter.get('/getName',userController.getName);
userRouter.post('/login',userController.login);
userRouter.post('/register',userController.register);

module.exports = userRouter;
